package com.ohs.ohsoa.system.entity;


import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * 请假设置
 *
 * @author qianjp
 * @since  2021年10月7日
 */
@Data
public class LeaveSetting implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "编号,主键")
    @TableId
    @Size(max = 32,message="")
    private String lsGuid;

    @ApiModelProperty(value = "集团下企业主键")
    @Size(max = 32,message="")
    private String groupEnterpriseGuid;

    @ApiModelProperty(value = "请假名称")
    @Size(max = 100,message="")
    private String lsName;

    @ApiModelProperty(value = "是否算正常出勤 0 ：否   1 ：是")
    private String lsFlg;

    @ApiModelProperty(value = "最长请假天数")
    @Size(max = 11,message="")
    private String lsDayno;

    @ApiModelProperty(value = "是否限制每月请假时长 0 ：否   1 ：是")
    private String lsMonthFlg;

    @ApiModelProperty(value = "每月请假时长")
    @Size(max = 11,message="")
    private String lsMonthLong;

    @ApiModelProperty(value = "是否限制每年请假时长 0 ：否   1 ：是")
    private String lsYearFlg;

    @ApiModelProperty(value = "每年请假时长")
    @Size(max = 11,message="")
    private String lsYearLong;

    @ApiModelProperty(value = "是否限制整天请假 0 ：否   1 ：是")
    private String lsAlldayFlg;

    @ApiModelProperty(value = "是否可透支请假 0 ：否   1 ：是")
    private String lsOverdraftFlg;

    @ApiModelProperty(value = "请假开始时间")
    private String lsBtime;

    @ApiModelProperty(value = "请假结束时间")
    private String lsEtime;

    @ApiModelProperty(value = "整天请假计算时间")
    @Size(max = 11,message="")
    private String lsLong;

    @ApiModelProperty(value = "是否计算周六周日 0 ：否   1 ：是 ")
    private String lsLeaveFlg1;

    @ApiModelProperty(value = "是否计算法定节假日 0 ：否   1 ：是")
    private String lsLeaveFlg2;

    @ApiModelProperty(value = "扣除加班设置 0：手动选择扣除类型（扣去年结余、扣福利、扣带薪）1：扣除特定加班类型 2：根据优先级自动扣除")
    private String lsOvertimeSeting;

    @ApiModelProperty(value = "扣除加班类型1 1：带薪休假 2：福利休假 3：去年结余")
    private String lsOvertimeType1;

    @ApiModelProperty(value = "扣除加班类型2 1：带薪休假 2：福利休假 3：去年结余")
    private String lsOvertimeType2;

    @ApiModelProperty(value = "扣除加班类型3 1：带薪休假 2：福利休假 3：去年结余")
    private String lsOvertimeType3;




}
